Created Redlich-Kister sum function, improved handling of phases with underscores in their name, added some stub handling for the IHJ magnetic model.