Approximate Histograms and Quantiles

TODO:
1) This code needs cleanup!
2) This code needs docs!