working definition of grinding machine