mass balancing in mineral processing