Changed lexer to use strtod