Additional arithmetic functions

- Fixes #132