fixed KD quantiles off by one day when comparing with MCMC