working principle of lathe grinding attch ment