calcA function

Calculates a, the number of an individual's alleles that are rare in each simulation.