Added KTNNFilter
Some minor renaming, and fixing the slope-finding algorithm
Changed the KTKDTree interface so the radius/distance used is always the linear distance, not the squared distance, even if using the Euclidean metric
Updated the KDTree writing so that it deals with the linear distances instead of squared distances