A modified next reaction method for simulating chemical systems with time dependent propensities and delays

A modified next reaction method for simulating chemical systems with time dependent propensities and delays