Outputs the distance between two vectors.