def distance(point, mean, covarianceMatrix):
    return mahalanobis(point, mean, inv(covarianceMatrix))
def distance(point, mean, covarianceMatrix):
    return mahalanobis(point, mean, inv(covarianceMatrix))