Amplifier with feedback loop