Improved performance of PartialCorr

Also reduced number of lags to calculate for in CalcInteractions2