Mechanism for caching inversed matirix.