Design and analysis of a quad-ferential amplifier