Refactored nn tests to use multiple implementations
Analyze() uses (very) similar points now

Due to rounding issues even points with the same coordinates might not
be exactly equal.