Matrix inversion stored in cache is implemented