Purge math subtree, use external library
Bump version to 0.1.8