Rework Coord nearest_neighbour calc to support circular cases.
Merge pull request #391 from pp-mo/nearest_neighbour_circular

Rework Coord nearest_neighbour calc to support circular cases.