Update cachematrix.R

checked comments again and made some changes