Particle swarm optimization approach for modelling a turning process