CommonFunctions: contains several small functions which are used repeatedly in both the fitting and intervention code The entry point to each routine is a file in each folder that starts with the word ...