Nonlinear Least Squares Optimization Techniques For Sustainable Environment