finish the Cached Inverse Matrix Calculation functions