Nonlinear Least Squares Optimization Techniques