Distribution Theory of Runs and Pattes and Its Applications:A Finite Markov Chain Imbedding Approach