implement cachable matrix inverse solver