Regularized poly_fit works as expected