analysis of designing a grinding machine