Replaced calcGraphStats with in-fn evaluations as it was taking up
~90% of the computational time. runtimes are down but still unacceptably
long if the program is to run off-cluster