Added checkCache function to show the result of a multiplication between original and cached inverse matrix