#55 fix. Code improvements and multiple unlisted bugfixes.

Multiple constructors have been added to ParseException and MathSymbol to make it easier to create instances without calling multiple setters.