Implement findNearestPoint