Changes for newer maths lib
Merge pull request #16 from benaadams/dev

Changes for newer maths lib