Added comments to cache inverse matrix function