Much better - incorporated the CalculateBeta() into the ResetIncidence script. Such that Beta is calculated at the beginning of a year using the previous years incident cases to inform transmission, followed by a reset of the incidence vector.