Added more comments to describe the functions in cachematrix.R