fixed autocorr funciton
more autocorr