Finite-element analysis of two-dimensional chirowaveguides