Fixed .gitignore and removed ~ files
Fixed .gitignore and removed ~ files