cached Matrix