precompute data stats if possible to avoid loading data set
Merge pull request #5 from lamblin/master

precompute data stats if possible to avoid loading data set