Added lots of comments to matlab files.