update D with ipopt with sparse output
use v8 updateD, and remove unneccessary codes in debuging branch