Fixed line endings in KDTree-related classes.