how to calculate residence time in a ball mill