Fix include path and warnings.
Add KdTree::Clear. Don't clip ray to the root box of the KdTree for better numerical precision.