Fixed few bugs with RAW adc decoder