Implementing and Comparing Polynomial Regression from Scratch in Python