3D Simulation of Residual Stresses in Turning Operations