fixed bug with 4x4 inversion