gold in the smelting process