Impedance calculation of complex surfaces-wire structures with multilevel fast multipole algorithm and variational formulation