added Andrew's model fitting function to the functions file
added a time lag
removed time lag
fixed a variable name typo
Alathea's model fits done.  Closes #10