Update rand_net_analysis.m