Estimation and compensation of nonlinearities in descriptor systems