ball mill work principle and calculation