phenotypeGivenGenotypeMendelianFactor.m done