Least squares with fixed nonlinear features