Singularity Expansion Method for thin wires and the Method of Modal Parameters