cachematrix is actual solution
cacheM is naming error