Updated Gamma quantile calculation