Fixed issue 50.
Implemented time simulation in the open loop as well.
Modified the way the simulation loops are being called.
Fixed typos as suggested by @faitdivers
Merge pull request #51 from faitdivers/OpenLoopSimulation_23_50

Open loop simulation #23 #50