Added calculation of mean degree for each trait graph (recording the mean of all the trait graphs in a sample in the database).  So the DB value is the mean over all T traitgraphs in a sample of the mean degree of nodes in each trait graph t_i.
updated maxtime