Updates to makeCacheMatrix and cacheSolve