Update cachematrix.R

Fixed line 36 i <<- NULL