calculation of ball mill residence