Updated inverseCacheMatrix

Updated code