edit the cachematrix.R