first version and working code, matrix a was test as following
a = [1 1;-1 2] given the inverse matrix as b= [0.66667 -0,3333;0.33333 0.33333]