V function

Covariance matrix of M and S-squared