frame: Initial implementation of rice decoding; making it possible to decode residuals :)