Modified pfd for Density matrix methods and .gitignore is now working