updateCapelinM
In the routine updateCapelinM the variable capelinM is calculated using the fixed value capelinMUncorrected and the list of parameters capelinMCorrection. In the historic period (simYear <= Last[stockdata][[1]]) the value of simYear is used to extract the correct value from capelinMCorrection, in the prognostic period the value of the variable thisyear is used.