explain the principle of operation of a grinding machine