Minor changes to cachematrix.R