Updated networks.py in prep of upcoming changes