process to design a mineral processing plant