Adding cached matrix