corrected CacheSolve to update matrix inverse