mineral processing plant average cost