Code for computing stats on input data
Merge https://github.com/rnithyanand/fp-theory