Submitted cachematrix.R