Calculating moles of product