pub fn squared_distance(a: &[f64], b: &[f64]) -> f64
Squared Euclidean distance between two equal-length slices.