Update cachematrix.R

Updated on 6/22/2014