Rerun simulation when settings change, fixes #8.
Merge branch 'master' into solverjs

* master:
  Rerun simulation when settings change, fixes #8.