gain locking amplifier