Calculates the distance of a given vector, squared
A vector of any length of dimensions
The squared distance of the vector
Calculates the distance of a given vector, squared