inverse of matrix by elementary operation