Added basic math functionality