Added support for several resistors and created the demo circuit.