Waveguide characterization of chiral material: theory