minor docstring formatting changes
begin implementing KDTree for NN analysis