Bug fix.
Bug fix.

Before, the doCurrentEvents() method of the MSimulation class did not
fetch events from the event table in a circular (modulo) fashion, which
would lead to an out of bounds error.

RuthRainbow/anemone