Changed output file to CSV

Changed output file to CSV format.
Changed location of output file.
Changed first two column names to be more descriptive.