improve kdtree comparison
Merge branch 'master' of https://github.com/pbl2108/mobile-computing