Build out functions to cache matrix and its inverse

Create the code to create a cacheable matrix object and accessor
function.