Revised covariance formula.