Added validateCov matrix to mixture of  gaussians