code for inverse of a matrix