Modified to now have a genome distance calculation function. Pass a genome map (id to genome), and all objects will be compared against each other.