thickening and leaching process of gold mining