Fixed a lookup table in one test.
Adjusted sample data length.
Implemented transition (gamma) metric calculation.
Added decode.py to test coverage.