Implemented simulation startup script and expressions as parameter values. Fixed new session simulation bug. Fixed vibrating pendulum example.