Updates to sorting and mean calculations as part of the chart requirements
on the front page of the gh site
tidied up some comments and removed computeFunction() until custom post aggregation can be rethought