fix nanoflann radius search, if max_nn is 0 it should default to the full size and the radius search is squared
Adding nanoflann.hpp to the includes