Fixed another bug in GraphAverager. Was still not working correctly: was putting edges twice in the final graph. Also now handling correctly graph averaging for directed or undirected graphs.