matlab snippets added