Used setprecision(4) to tidy up terminal and .dat file into clear columns

The output values in both terminal and .dat file should now print with
4 decimal places, regardless of whether they are significant. Just to
tidy things up a bit.