assignment error in setinverse

use <<- instead of <-