what is the function of pellet mill