A VGA linearity improvement technique for ECG analog front-end in 65nm CMOS