getdetectionlimit function

Gets the detection limit stored in the data set