commited cachematrix.R