An Inverting Transimpedance Amplifier for Current- and Voltage mode Applications