added method to get phenotype from chromosomes