Add numerical calculation of autocorrelation