Updated some spherical trig stuff