Corrected the method to create age class.


The method now takes in account the population changes inside an age class.