Calculating Expected Genotype Frequencies