Changes to cacheMatix.R file