Update cachematrix.R

Add in explanatory comments