Improved generateSimpleScaleFreeUndirectedGraphBA method in AdjacencyMatrix class