some code cleaning, changed scientific notation problem