how does a mining washing plant work design diagram