fixed error parsing decimal exponentials

removed extraneous parentheses, added test cases