The Method of Elementary Solvers in SPICE