Fixed #349, where upper level statistic state was being improperly propogated when switching specimens in Demag GUI which was due to a improperly placed line and a improper type check in update_mean_fit_box
Fixed #349, where upper level statistic state was being improperly propogated when switching specimens in Demag GUI which was due to a improperly placed line and a improper type check in update_mean_fit_box

lfairchild/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy