Circuit Simulation of Magnetization Dynamics and Spin Transport