Catching errors in Parser when it was parsing strings like "1.5E-9". Now checks if string can be parsed as Double & returns ConstantNode