Going back to pure python distance function for UnionJackLattice, going to run a test on the cluster