Added handling of negative values of signed integers to get rid of warning
This MR gets rid of a warning about signed / unsigned integer comparison regarding the data set size in the Nicos reader. To achieve this, additional handling of negative values and use of unsigned integers where possible is implemented.