Shouldn't you be calculating the inverse covariance matrix for the Mahalanobis distance?
Shouldn't you be calculating the inverse covariance matrix for the Mahalanobis distance?