Finish the implementation of ID3DXMatrixStack