Still investigating non-linear equation solving. Looking at the SQP algorithm and Newton Raphson