Implemet functions for calculate inverse of the square  invertible matrix and store it result in cache.