write_chroms function

Write chromatograms