Implementing cached inverse matrix
Merge branch 'sandbox'