operating principles of a ball mill