change the default behavior of minimize function
show results in the last step
update the plot function in self calibrate