Implementing findClosestPoint()