Fixes issues where the number of terms did not match up correctly and so produced nans for all values.
Now just uses the index from the cur_model to replace the values in the event and site dataframes.
Adds a sanity check that the event terms are greater than the site terms
Fixes issues where the number of terms did not match up correctly and so produced nans for all values. Now just uses the index from the cur_model to replace the values in the event and site dataframes. Adds a sanity check that the event terms are greater than the site terms