'amendLevelsDS' re-written and renamed 'recodeLevelsDS'.
Typo corrected
Deleted functions removed from des ription file.
'recodeLevels' added to Description file.
Typo corrected.
'isValidDS' made both aggregate and assign as required for both categories whilst not 'dangerous'.
Typo corrected
'isValidDS' made internal function.
Code slightly amended.
Bug sorted.
'asListDS' added to assign functions.
A line added.
Bug sorted.
Debugging1
Sorted...hopefully.
Unecessary line removed.
'asMatrixDS' added.
Typo corrected.
'cDS' added and internal function called properly now.
'cDS' bug corrected. 'changeRefGroup' code amended.