production of gold mining primary secondary and tertiary