Debugged scalefree degree distribution generator