Fix exponential notation and parenthesis simplification

Apparently, we were changing signs of 1e-2 to 1e+2 when doing parenthesis simplification...