updating the cachematrix.r