to calculate for ball mill