Fixes to covariance matrix.