makeCacheMatrix & cacheSolve to calculate matrix inverse