close() now checks and closes both input and output
Call close() method on Sim object for QC
Close and delete sim/qc objects before exit
Rename createFile to openOutput
Initial commit of additional test data
Add -lm compiler flag. Remove -ffast-math which causes errors handling INF/NaN values.
Add CLEANUP constatns
Fix memory errors; change stderr messages; update calls to getNextRecord
Check for NaN/INF values in .sim input, and optionally set them to zero
Report non-numeric values
Fix memory errors and report non-numeric values
Change QC test input; suppress stderr from 'sim' executable