Add overloads of inverse trig functions that take heterogeneous units and return the angles in radians. Fixes #3865