Arithmetic coding matlab matlab