Analysis of a Finite Array of Open-Ended Waveguides Based on a Multimode Equivalent Network Including the Effects of Finite Matching Layers and Groundplane