Fixed the output_normalization and removed print output.