fixed another sign error
fixed another sign error, delegated equatorial deflection to a function