updated Cython files for network and ink