Miscellaneous R scripts related to the forage model