what is the purpose of grinding and milling