Updated regularization.R to plot ridge regression