Arbitrary shaped aperture/patch fss’s in planar phased arrays. Full-domain and sub-domain basis functions