Closed-form evaluation of the integration of Green’s function for method of moments