minor bug fix with teh program not adding newline characters to the cross-section output file.