Add debugging option to simul that allows for checking problems with exo...

...genous variables