pub fn pv2s(pv: &[[f64; 3]; 2]) -> (f64, f64, f64, f64, f64, f64)
Convert position/velocity from Cartesian to spherical coordinates.