Abstracted the cross-validation plot into a function and added a number of parameters to adjust the information that gets plotted.