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
Merge pull request #77 from Stavrakakis/master

Refactoring to sorting and bugfix to averaging