Error in multivariate gaussian distribution