Changed the discretized lattice size to be fixed to 1000 regardless of the tree size. Also added an alternative to directly use quantiles instead of categories. The quantile implementation is exact but a bit slower because there is no caching yet. If we can speed up the quantile method then it should become the default. Issue #154