Fix normalize function to properly sum to 1 in q4