pub fn get_quantile(sorted_data: &[f64], q: f64) -> f64
Native aggregation logic: Linear interpolation quantile calculation.