PopulationModel function

R6 class representing a population model