inverse square matrix

I added my own code here