mineral processing plants advanced process control