Added javadocs for KdTree