Basic Markov Chain functionality implemented. Moved 'Matrix' from 'Chain' to 'Matrix'.