updated: genotypeGivenAlleleFreqsFactor.m