gold leaching cyanide calculation