Created cached matrix that stores its inverse