Made fix to MEDS_Trainer destructor that hopefully will resolving segmentation fault