Added IsInteger
Fixed misaligned parens/brackets/braces
Fixed infinite recursion bug
More correct treatment of exponents