added KdTree.addPoint method