Method to calculate the rate of chemical reactions inside a cell.