Excess reactant and product calculation