Design and Characterization of Circuit based on Emerging Technology: the MagCAD Approach