Fixed error where exception would be thrown if MATH was undefined
Merge pull request #7 from barrysteyn/master

Fixed error where exception would be thrown if MATH was undefined