Development of a “digital twin” CNC lathe