modified SIMtoEXP_utility.py