Add some basic math functions