Debugging sparsity derivative.