Adding solver for B, D, and x0.