Changed outgroup selection method to a function that always prioritize closer nodes, added max_missing_species option to COG selector