Changed transition and identity function
Merge pull request #1 from edcartre/master

Changed transition and identity function