Altered this.collections and removed tokenize function
Managed to complete the code for constructing the transition matrix