Added ML decoder to matlab sims.