The major part of the computation time for a long time series is in CW_run_simulation:
CW_run_simulation
And in CW_model:
CW_model