Fix casting on arc* functions found by Dunbaratu.
Merge pull request #84 from a1270/arccosfix

Fix casting on arc* functions found by Dunbaratu.