Cached Matrix