Revamped the number parsing to allow exponents