Can you resolve the problem by
- grabbing the real channel,
- calculating the inverse,
- then grabbing the complex channel,
- calculating again the inverse,
- combine the previous inverse channels in new two channel matrix?
No idea if this would do the trick, it is just a suggestion.