Pushing up changes for code review. There are some unnecessary debug statements while I track down an issue related to duplicate vertices being added, that produces an incorrect emerging degree (and thus too-large comunities).