what is grinding in terms of machines