ap method to refine gold