remove recordstep
Correct pruning of matrix
param tweaks