Autocorrelation_function