force a matrix input for D in gdbr