how to design a ball mill and its principle