Fixed writing to coadd header, rest is just documentation corrections