Added more detailed comments to cachematrix.R