Theoretical Considerations of Magnetic Hysteresis and Transformer Inrush Current