Rashad's current version of cacheMatrix assignment