Initial Version of matrix which caches its inverse.