fix inverse trig degree functions
Merge pull request #2765 from simonbyrne/master

Fix inverse trig degree-valued functions