remove declaration of matrix in cacheSolve