Update to dumpchans function in nCtools.g, with some documentation