Text this: Effective Impedance Method for In situ Ellipsometry Analysis of Magnetic Films