Added normalize log hist + fixed normalization bug