initial version of autocovariance function