In the distance formula in Euclidean space we haev only 4 arguments required
to calculate the distance between two points.
I don't understand how you will use more than 4 points to calculate the
distance if you are giving input to function with two ranges and that too with
several values in each range.