Initial cacheable matrix implementation