Added function to draw the convergence plots