When the current through the resistor is travelling from positive to negative I get the result that I expected which is the voltage drop across the resistor multiplied by the gain. In this case 0.05*2*50 = 0.5V. However when the current is travelling in reverse I get a seemingly random value of 84.14mV on the output pin. Why is is not 0.05*-2*50 = -0.5V?