Add in some more math functions
Signed-off-by: Matthew Van Gent <scoutcamper@gmail.com>