Added kdtree regression