New changes to cachematrix.R