think I've got the distances.csv file in good shape