Merge pull request #12 from LEMS/test_networks

Test networks
Minor change for python 3 compatability