Contains functions to store cached copies of an input matrix and its inverse one level deep and return it promptly on future need.