Updated to match the ISubstance API
Fixed a regression: getChemicalComposition() returns null when the material has no components