fix the quantiles computation
Merge pull request #18 from cricri/quantilesbug

fix the quantiles computation