added 3rd order markov chains to analysis pipeline