Updated with comments on cachematrix.R