modified Normalize.py