Simplify functions to find equivalent angles in the [-pi, pi] and [0, 2 * pi] ranges.
Merge pull request #2311 from AnalyticalGraphicsInc/angleEquivalence

Simplify Math functions.