Fixed a strange error that added an extra row of NaNs in the data file.