Corrected missing step in simulation.
Added last modification.