System identification in the presence of trends and outliers using sparse optimization. (August 2016)