cleanups to barabasi_albert generator
Cleanups to uniform graph generator