converting matrix to identity using linear transformation of column vectors
fixed messages
returning inverse of matrix
added comments to the functions