Fixed a bug where the frequencies of "A" and "a" alleles were accidentally reversed. Added a function to set the next ID for use when creating calves based on the largest animal ID seen in the population, which will hopefully fix the problem with duplicate ID's being used in the pedigree file.