Update docs.
Change check for state similarity.
Closes #9 issue for self transitions.