Add untested code for l1 minimization.