Self-generating Markov matrix for algorithmic music