Update consensus_und_helper.m

This updates the code to run modularity reps number of times to send a matrix to agreement instead of a single vector.