Added project file to .gitignore
Implemented cached matrix inverse calculation functions