how does work a ball mill