- Added checks for return value of cacheSolve as well as modified base matrix