Removed extraneous print statements; SED data is now output to a file in comma separated value format.