Merge pull request #1 from wildart/master

kd-tree implementation