hyp_distance fitness method