wrote beginning of cusum script; so far just uses statsmodels to estimate VAR model and comput residuals