Working on code on randomization
Added simple flattening function
Merge branch 'master' of https://github.com/magnanim/multiplenetwork.git