Fix some parsing bugs related to parsing numbers, and improve error handling. No longer use scientific notation for output of floats.