Create convergence and trace plots functions. Adapt the analysis script to them.