think that matrix conversion is cracked. need to check with SolvePnP, lots of random situations
loop fix