correct error in threshold generation

the offset threshold was not correctly generated. data input samples
were updated to further inspect the behavior of the data slicer