Fixed bug with digital input (reset input)

I created a bug when implementing the module value caching which I
didn't catch until recently.  I fixed the bug and implemented the reset
feature in the equation player.