pub fn max_abs_diff(a: &[f64], b: &[f64]) -> f64
Maximum absolute difference between two equal-length vectors.