Added markov Chain features and added call to pipecommands in mysys.py