Zaslat SMS: Stoichiometry and thermodynamics of metallurgical processes