First attempt at cacheing a mtrix inverse