Calculating Amounts and Masses in Chemical Reactions