Problems calculating covariance matrix by scripting

I realized that it is because in the auto-generated script the default parameter values are different. It is working now after changing the parameter's value of the auto-generated script for calculating the covariance matrix to:
'baseline', [0, 1.999498553], ...
'datatimewindow', [0, 1.999498553], ...