Revert "Delete .gitignore"

This reverts commit 72605a8e9fb456cd664728d482a102ba19cf0d5c.
Revert "Fixed getMatt function"

This reverts commit 5ee18ad8afab1214191c29dc4766220c84e12abb.