An intelligent cylindrical grinding machine