Put back original resistance

Original resistance is 10,000 ohm.
Clean up code

Removed changelog, cleaned up a bit.