src/make_tmat.sh: initial commit

for documentation purposes, at least; i tried to make the script reasonably portable/self-contained, but i've run it only on OS X, so ymmv:

    % src/make_tmat.sh 40 > tmat_40.tsv