mainTestContextualHMM is an example of training fully parameterized HMM.
The variable "path0" should be modified, corresponding to the address in the machine. 
In the example, training dataset is randomly produced.
It shows the increasing likelihood from the step of training.