-Fixed an off-by-one error in the data reduction clipping function.