use c2s;
/// P-vector to spherical polar coordinates.
///
/// Given:
/// * p p-vector
///
/// Returned:
/// * theta longitude angle (radians)
/// * phi latitude angle (radians)
/// * r radial distance
///
/// Notes:
/// * If At either pole, zero theta is returned.
///
/// Called:
/// * 2s p-vector to spherical
/// * pm modulus of p-vector
///
/// This revision: 2021 May 11