importing the new randomization method from BCT, Rubinov and Sporns 2009