Incorporating matlab function into dynare

Set noprint in stoch_simul to 1 to prevent Dynare crashing on errors. stoch_simul will then return an error code in info that can be used in an if-clause: [Loop over parameters)