Calculate some of the geometry parameters needed for stub fitting.