component and function of grinding machine