Modeling reflections induced by waveguide transitions