Calculate allele and genotype frequencies using the Hardy-Weinberg Equilibrium.
Input genotype frequencies to calculate allele frequencies.