bmem.raw2cov function

Convert a raw moment matrix to covariance matrix