working principle of metallurgical gold processing plant