Compute running total.
Merge branch 'master' of https://github.com/UK-AS-HIVE/TRS