Add math operator functions

Fixes #4.
Adds the 4 basic math operators as functions.