Calculates a variety of distances between vectors.