Moving Quantiles, thesis source code