Updated calculation for determining DOY of senescence. Put model back in to the old format (with the Available_N pool).