Refactoring of the MinimumAreaEnclosingTriangle for better understanding