a=matrix([[-0.5,0,0],[0,4,0],[0,0,1]])
print a
b=inv(a)
print b