Updated the FDM program to output to a .dat file