Adding solve(A,b,linearSolver) helper for DMatrix