added estimation of autocorrelation