added .swp to gitignore. more work on script to insert matrices