nanshe/advanced_image_processing.py: In normalize_data, switched to using in-place operations to cut down on the memory used.