Text this: Root finding of a system of nonlinear equations using the combination of newton, conjugate gradient and quadrature methods