indices get sorted on construction now, and bug fix of index() routine
redundant headers removed, and output redirected to stderr
extracted lambda code into functor to reduce code duplication
removed the dependency of a number type with a value for infinity
squared distance instead of regular distance to support different number types
GMPxx CMake module