Machine tool analysis