Remove getTheta() and getPhi() functions

As @WestLangley points out, the `offset` variable upon which these
functions depend cannot be relied upon, because it is used as a
temporary.