Fix definition of the covariance matrix of derivatives.