Added missing transition indices in the definition of simulation.