[MRG] hist: quantiles also works on 2D and 3D histograms