Updated ClassExtensions
Merged with Derek's ChemicalFormulaGenerator code
Updated ClassExtensions