Extracting characteristic impedance in low-loss substrates