Spintronic circuit simulator using the ngspice circuit simulator.