metal grinding in working principle