Fix bug when trying to remove root. Add contains(), toArray() and clear() methods. Several speed improvements
Remove unused variables
Revisit the RLT code. Fix a corner case in the inverse transform code.
Add missing update of array indexes at the end of the forward transform
Fix how the codec handles input data with a unique symbol. The encoder did not encode and the decoder failed to create a decoding cache when the input has only one symbol in it.