Update CalculateAPDSumMFefficiencies.py

Fix memory leak