FedMode Implementation of FedMode paper: Optimising Clinical Federated Learning through Mode Connectivity-based Model Aggregation, AISTATS 2025.