Argument added to logGaus to specify number of edges