gold how is it extracted from primary to tertiary stage