main principle of ball mill