add number of non-zero components to output when lambda = 0.
no need to recompute the solution when not plotting.