committing cachematrix.R