Submit R code for cachematrix