Basic C++ Hidden Markov Model functionality implementation with state prediction estimation