uploaded cachematrix.R