Text this: Nonlinear Least Squares for Inverse Problems