save cachematrix