An aspect of the present invention takes advantage of the fact that the
coordinates of fixed points do not change, and thus the energy (sum of
squares of the coordinates defining the vector) of each fixed point is
computed and stored. The energy of each variable input point may also be
computed. The distance between each pair of fixed and input points is
computed based on the respective energies and the dot product.