GH-31: Add new HMM methods to compute the probability of an state inside an observation sequence.
Also adding better error checking and exception handling, and updating unit tests. Resolves GC-103.