Second commit Cache matrix