Modified task 10 convergence plot script.