Update cachematrix.R

Updated on June 21st, 2014.