Move the normalization logic from Triplet to Triplet::Normalize