principles of operation of a grinding machine