* Adding integer square root and other changes to spec * adding doc * fixing tests * fix spec * fix rewards * Remove failing test * fix test * lint