Minor changes in cacheSolve function