Cache matrix finished