Tried stopping criterion
roll-back
Analysis of the stored arrays
Minor changes: params and output