Full wave analysis of arbitrary polygonal section waveguides