mahal_dist function

Calculate the pairwise Mahalanobis distances between observations