Change some params.
MATLAB alg.