Add R Studio project and .gitignore
Implement cached matrix inversion