writeVarcov function

Write variance-covariance matrix.