Issue #1056: improve reshaping in topo_view_to_design_mat

Addresses issue#1056 by correcting order of axes in the tensor transpose.

Round trip tests were already present in `test_dense_design_matrix.py`, so no new tests were added.