Updated MarkovModel class

Completed the implementation for the constructor & apply method (matrix
multiplication)