Add test and Math library functions
Merge branch 'master' of github.com:ryanseys/mathjs