A Multimodal Calibration Technique for Waveguide Devices