update matrix inverse function using dx9
update mesh hierarchy