Fixed bug in calling acos() function.
Merge pull request #36 from peastman/master

Fixed an error when calling acos()