minor changes to the getter and setter of makeCacheMatrix