Uses a KDTree to do NEarest Neighbor Searches.