knn: Find k nearest neighbors

+ Find k nearest neighbors using the kd tree.