A threshold voltage gradient compensation circuit for weak inversion operators for analog OCR chips