fixed bug in modEpAmplitude.py