Fast Ridge Regression with Randomized Principal Component Analysis and Gradient Descent