what are the main principle to a ball mill