Finished simulation 4.
Added: torque and RPM functions