Corrections to GenerateRewiredNetworks.py