Mahlanobis added. Not tested.