Python code for lookup for sigDerivative
Tweaked weightUpdateOutput to take deltaK and 5 bit input from previous nodes