Attempting to fix memory leak issue in fittellurics.py