Added an example with convergence plot