Update cachematrix.R

Added comments on function use