Now reading in .dat data handles gappy data well, prints out to fits, and can read from fits!!!