Symbolic Regression with Fast Function Extraction and Nonlinear Least Squares Optimization