Added parameter for covariance