Fixes #72 - Restructured arb int math and enabled BCMath as an engine

And this time shouldn't stall Travis CI
I would like to keep the code comments for some of these more complex functions such as this. They are good reference material and explains the math the function is using.