fiddling with cachemean
archive the cachematrix functions