machine to extract metal from slag