Numerical prediction of machining induced residual stresses when hard cutting AISI 4140