Solve Matrix

Solves a Matrix and caches it for further retrieval