Fix inverse matrix4

Fixes #83