Implemented bit mix substitution for the level 3 model. Better documentation.