added main simulation routine, sim.py. Added boolean combustion state and total impulse tracking to esim.