See the reference commit: f11aaf8#diff-7b1acceb6c69e828c14f395f75251c426b8cb94f00173ce2d19d1c1cdf66c69eR116
- While finding most probable state we should pick not just the first element in array, but first existing transition probablity
- Should not do math stuff when
-math.MaxFloat64
happens