Adding code to calculate inverse of matrix and store the result