Simulation of Tool Wear in 3D FEM Environment Considering the Tool Geometry Update: the Developed Algorithm