adding networkx, tweaks to travis config