Correct calculation of autocovariance function to use random process definition.