algorithm can now be easily run for any of the current fitness methods, including snp_distance