implemented matrix inversion and updated README.md