the covariance of distance can be generalized to include powers of euclidean distance