Merge pull request #1 from QSTEM/master

Merge QSTEM master
Fix chisq output.  Still need to determine if it is meaningful.
clean up all references to old method for file IO.
Merge pull request #10 from msarahan/text_output_fix

Text output fix