calculation formula principle for ball mill