Fixed a small bug in tsp_nearest_neighbour