Complete cachematrix