First version of a class to treat saturating samples... still very preliminary and with debug output.