Committing tested cachematrix.R with explanatory comments