Update decode.cc

Decode should be mostly correct now.