Initial .gitignore and fix indentation error within matrix_repository.py