Better handle real-world network files

* Use networkx pajek functions
* Warn for (and remove) self-loops if encountered