removed call to matlabpool
updated startup
provision for recent maltab version for parallel
replaced strtok with regexp
safeguard against overflow
added exception for knife-edge cases
Can now modify shocks during simulation
added back restrictions on lags