N-GRAM MODELING OF TABLA SEQUENCES USING VARIABLE-LENGTH HIDDEN MARKOV MODELS FOR IMPROVISATION AND COMPOSITION