pub fn normalize3(a: [f64; 3]) -> [f64; 3]
Normalise a 3-vector; returns the zero vector if length is negligible.