Function normalizeAngle

Normalizes the given angle (in radians) so that it's in the range -PI to PI, not including -PI.