calculation of ball mill residence time