makeCacheMatrix and cachSolve updated to work