Added comments and usage examples in cachematrix.R