Update materials.
Add temp ~ files to gitignore.