try version of cachematrix.R, the <<- operator needs to be further considered