Added time-varying lambda and batched generation to simulation.