change in logic for calculating rotation angle to make coplanar - now using atan2 of (cross.length, dot product) - both of these terms check normal consistency first.  Then final rotation  = 180 - degrees

Next series of commits will remove debug logs, add more test cases, fixing naming, and do refactoring of large files.