Approximate Histograms and Quantiles

TODO:
1) This code needs cleanup!
2) This code needs docs!
3) This PR needs more context!