2nd update of cachematrix.R