Function cachematrix finished
Revert "Function cachematrix finished"

This reverts commit 488dab064f830978d42b31f6d55350da163eae38.
Function cache matrix finished