Appendix A. Detailed solution to the two-state example problem. ForneyDavid C. RothmanDaniel H. 2016 Detailed solution to the two-state example problem.