Draft 1

Tested with randomly generated matrix -- function returns value and
caches inverse as expected.