method for stochastic equation systems
Gillespie algorithm