working principle of hydraulic grinding machine