Creation and commenting of cachematrix.R