Added unit tests for remaining functions in mathUtils.
Fixed a bug in isFinite.
Made rot2D accept angle in degrees, not radians.