loci_alt_freq function

Estimate allele frequencies at each locus