Title: Advanced Electromagnetic Analysis of Passive and Active Planar Structures