Added various simple functions to math module.
Added various simple functions to math module.
Merge pull request #353 from rjdowdall/master

Some math functions