A variable-timestep implementation of the Gillespie SSA for stochastic chemical reaction simulations.