Added matlab snippets.