calling of invert_4x4 or invert_4x3 depending on the the right hand column of the matrix. Updated wrappers