Surface texture and machining conditions. Part 2: Development of mathematical model based upon pattern recognition