parsed files outside joint_density function
removed old code
moved saving from individual functions to power_main
all args to louvain and labelprop now in namedtuple
All arguments other than A, m, n and k are now given in a named tuple