Fixed big bug in model_converter
Merge branch 'stochoptimserial' of https://github.com/StochSS/stochss into stochoptimserial