DSE ad DSG tested with a single example file. Documentation of the routine completed