pub fn sin_2_phi(w: &Vector3f) -> Float
Utility function to calculate square sine via spherical coordinates.