1. Removes old function.
2. Adds ability to handle multiple predictors.
3. Removes option to perform regression on residuals.
4. Minor refactoring to make more readable.