return the covariance as well