2014/11/23 update to cachematrix.R by R.M.