matrix cache implemented