Updated d3.quantile to take callback function