Merge pull request #201 from CyaNox/master

Fixed a few cases in the Math functions where floating point imprecision...