Normalizes and calculates the molecular mass of chemical formulas.