math operations were raising exception because they used `to_int1` instead of `to_i`.  Added a couple simple tests.
Merge pull request #8 from tomharrisonjr/master

math operations were raising exception because they used to_int