Thermal plasma in extractive metallurgy