cachematrix.R completion