I don't understand why do I need negative voltages? The circuit seems to work as I intend, the only problem is that the op amp isn't rail to rail so I can't get +5V out of it when the supply voltage is +5V What purpose would the negative voltage have?