Added extra documentation to the code for outputting to the coarse FASTA and links files