Add interface for deterministic simulation and change handling feasibility logic

- Add time machine interface for deterministic simulation
- Move feasibility logic to outside simulate_demo functions
- Add line to also open gripper when resetting arms
- Reorder releasing rope and resetting arms at the end of the simulate_demo functions
- TODO: collision between gripper and rope is not ignored for every first optimization