Sim demo

Changed sampling rate to 50 Hz, added the demo script, and added the logic for the recorder (it is mostly working -- still a few kinks to work out).
thank you for constants!