Optimal choice of the e.m. expansion for arbitrary shaped aperture/patch fsss in planar phased arrays