Added explanation of resistor model and barely began coding it.  I mainly added some initialization values to check it on.