calculateContactTriangleTriangle() updated to check degenerate triangles.

- Updated comments to explain variables and algorithm better.
- Removed unnecessary comments and corrected typo errors.