added autocorrelation tools