exponential notation

Made all output numbers formated in exponential notation, to avoid some
very small numbers to be printed as 0.