More elegant decoding code in acoder_test.
Some more optimisations to the arithmetic coder.