Cached matrix inversions with comments