operating principle of ball mill