my changes to cachematrix.R file