The first version of cachematrix.R