Added performance tests for kdtree.
Compares the performance to brute force search. KDTree Seems to provide 2x ~ 4x better performance.