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.
The change in error message wasn't entirely necessary, but it makes it a bit more clear how the shapes are supposed to line up.