Text this: Estimation of Parasitic Resistance of Electrolytic Capacitor and Filter Inductor and Prediction of Input Filter Induced Oscillations in a Switch-Mode Magnet Power Supply