updated the code in cachematrix.R