11.11.13 improvements to mat-to-dmat/dmat-to-mat performance