[Enhancement] Adding moment computed fixes #6

This PR is dependent on #9.  Will squash once you thumbs up and merge #9 .
I think it makes more sense to make inputFormat the 3rd optional argument, since you're more likely to change the output format.  Opened to suggestions on this.