finished building transition matrix.