Changes made to cachematrix.R