Removed bug.
Resolved bug.

For every node, the number of edges counted was 1 below the actual value.
Merge branch 'master' into parallel