Create Funcitons for Cache Matrix inverse Calculation