process of pyrometallurgy and its chemistry in mineral processing