Update EigenvalueAnalysis.py

Clean up

@AndreasPfeiffer : Please test before merge.