added commits to cachematrix.R