Final version (2) of cachematrix.R