fix mistake in covariance matrix