Assigment 2 cache inverse matrix