Dsolver

minor fixes and implementation