Retrofitting a conventional lathe to a digital intelligence system