updated comments to cachematrix