If I have a basis
$$B=\{(1,2,0,1), (0,8,0,7), (0,0,1,0)\}$$
and an orthogonal basis (which I obtained from $B$)
$$W = \{(1,2,0,1), (-23, 2, 0, 19), (0,0,1,0)\}$$
How would I calculate the change of basis matrix from $B$ to $W$? (I'd usually use the inverse matrix formula, but I can't because $W$ is not square)