polynomial regression linear algebra