change d_mat_mul to use blocking