calculation of balls in a mill