Compute the solution to the arbitrary-shape thin wire integral equation found in Section 4.5 of
Gibson, Walton C. "The Method of Moments in Electromagnetics," Taylor and Francis/CRC, 2008.
Assumes a straight wire along z-axis.
Gauss-Legendre quadrature weights are computed using the following script:
updated code to use a different script for computing gaussian quadrature weights