Update cachematrix.R

Properly commented version