Analysis of Nonsquare Artificial Dielectric Layers and Application to the Design of Anisotropic Slabs