remove reference testcode
Start fixing n-n wrap tests.
Better method for circular bounded nearest-neighbour calc.
Reworking nearest-neighbour wrap test (incomplete).
Lots more NN tests, but still not finished.
Working with full tests.