cycle time calculation for internal grinding