Fixdtrsm

Bug submitted. We should probably fix the bug before submitting this PR.