--add Dan's exponential normalization in python