procedure to extract and refine gold after mining