moved all closestPoint() and closestPoints() out of classes and into closestPoint.h/cpp