Calculate The Allele Frequency