Updated demos

Improved demos notation and documentation. Some minor adjustments to
markovchain.m