added routines and controls to change degree distribution through rewiring.
Buggy--can throw error in some cases.