Update cachematrix.R

correcting NULL