refactor. No explicit transition matrix.

*actually* fixes #5