Mineral processing design and operation