added comments to the cachematrix.R