Made some renaming and comments changes to stay consistent with the notions used in Musolesi's paper