added array covariance