add covariance matrix