chemical system gold mining