Added new unit tests, discovered that paths from a point to itself were length 2 (to nearest-neighbour and back instead of empty list). I don't think this will affect anything, but I'm going to run again on the cluster to be sure.