Update cachematrix.R

Updated explanation sections.