Initial submission of cachematrix.R