implemented new modularity() method separate from graph_stats
updated modularity()
renamed genotype_network attribute network