cached inversed matrix