Updated cresta decoder

Updated cresta decoder to a modified code