Improves toString formatting for small numbers.
Does some refactoring on ExpressionParser, as well as formatting and Javadoc.