added the ability to set initial conditions for the batch reactor