The ZEPLS program for solving characteristic equations of electromagnetic structures