Operational amplifier based peak detection circuit