Refactor geometry namespaces.
Precompute both cartesian and spherical pixel coordinates.