Updates to support degree-corrected group model (Bernoulli version),
including fix where changed edge heads were not propagating correctly
during update.