smelting gold ore from pyrite