cnc controller for lathe/turning machine