CacheMateix.R file added by Heverth Osorio