Add distance and distanceSquared