Extend atof to handle scientific notation of the form