Update cachematrix.R

fixed typo's and added more comments