gm-Extraction for rail-to-rail input stage linearization