Added matrix inversion and cache functions