pub fn normalize(v: &mut Array1<f32>)
Normalize a vector to unit length (L2 norm). Leaves zero vectors unchanged.