added comments to cachematrix.R