Cache Solve Matrix