Enhancing Statistic (types) and moving it to math
Fixes  #533
Merge pull request #557 from dcoeurjo/Stats

Enhancing Statistic (types) and moving it to math