ZPA model update
Write Stats invertes write stats and activity in order to calculate once the degree distribution hashmap
HELP-NEWBY REWRITTEN AND THE CHECK FOR ALREADY CONNECTED THREADS HAS BEEN ADDED