additional error checking
Added support for positive numbers in scientific format regex
Fixed formatting errors.