Log Normalization Python Code Running