Support for minimal diode implementation

Simplistic diodes with different forward and reverse bias resistances are supported, and tests for the same are seen to be satisfied. This includes a recursive procedure to determine the biases of all the diodes.