Correcting error in calculation of standard deviation and median statistics.
Fixing width to be consistent with definition of treewidth as max bag cardinality *minus one*
Replacing Aaron's standard deviation calculation with one that doesn't give -nan regularly.