First update of cachmatrix.R