Improved MA documentation

+ Added a bit of background, linking to Wikipedia
+ Added more comments to the code examples
+ Example chart code is no longer global
Merge pull request #101 from ColinEberhardt/gh-pages

Improved MA documentation