create GetModularity helper method
create getMutualInformation helper method