Synthesis of finite passive n-ports with prescribed two-variable reactance matrices